<? if(!empty($student_subjects)) :?>
	<table class="table table-hover">
			<thead class="tabular-head">
			<tr>
				<th>Subject Code</th>
				<th>Subject Description</th>
				<th>Day</th>
				<th>Time</th>
				<th>Teacher</th>
			</tr>
			</thead>
			<tbody class="tabular">

	  <? foreach($student_subjects as $row) :?>
				<tr>
					<td><?= $row->subj_code ;?></td>
					<td><?= $row->subj_desc ;?></td>
					<td><?= $row->day ;?></td>
					<td><?= $row->time;?></td>
					<td><?= $row->teacher_name;?></td>
				</tr>
			<? endforeach ;?>

	  </tbody>
	</table>
<? else: ?>
	<code>
		Unable to get student subject schedule because student is not assigned to a section.
	</code>
<? endif;?>
